#include <pybind11/pybind11.h>
#include "jpgLoader.h"

namespace py = pybind11;

PYBIND11_MODULE(jpgLoader, m)
{
    py::class_<jpgLoader>(m, "jpgLoader")
        .def(py::init<unsigned, unsigned, unsigned>())
        .def("load", &jpgLoader::load)
        .def("wait", &jpgLoader::wait)
        .def("start", &jpgLoader::start);
}
